package com.phillong.strategy;

/**
 * @author zhangpeng
 */
public class ModelDuck extends Duck{

    public ModelDuck(){
        quackBehavior = new MuteQuack();
        flyBehavior = new FlyNoWay();
    }
    @Override
    public void display() {
        System.out.println("I'm a model duck.");
    }
}
